#include<iostream>

using namespace std;
int main()
{
	while (1)
	{
		int a;
		cout << "cin a:";
		cin >> a;
		if (a % 2 == 1)
		{
			cout << "ON"<<endl;

		}

		if (a % 2 == 0)
		{
			cout << "OFF"<<endl;
		}
	}

	return 0;
}